SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '938f04ab74230a8dec780bae9ad66519023b176e1f195de658cb28ec0058c40b' 
  AND token = 'cdOl1XgceUpdezCUghA2I1lTjjBV7XGzUawbM5Z016k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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