SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6c577fcd20d029adbf514904ea8f063da57ba781240f12c9e7847711e41e82a2' 
  AND token = 'z82OdHSmc4M4EXnDOoKzm4xzXOOa3i1nggowc8wI1Bs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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