SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1df3bed9aa6f286a03e286c9d72705fcaca2f251b4f3a3d7a368832cba9a054' 
  AND token = 'oxOeJFpVmK7bDWg6CRtYmgc6DZH1knQwiBSgACUp0O4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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