SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a5bd70df90218c2fa7bb844fdbb5b9b9bc2a0ab4266081cfaf2df638988573b' 
  AND token = 'ssJFTyG/51w51x8OVwf4wyAU1ntqcV1j7socJaEdtJE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}