SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '866a22fc7abc128750de33c2c5d0de1442ae5971809334d474badf47ec52e27a' 
  AND token = '76uoJD2ttd84Wma5PWExlStHb1cvlYsibqLN0IMRayQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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