SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c00ee2534dd9f160098255ff7bde7784ec3c166dfd0266a7d1d471850179b58' 
  AND token = 'YbLbKSNCyvK7yM/eJfs+sxY1J4hI2vW9QUdx7NiVoEk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}