SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04c7b933800ca9dfbb408e652af127306ef3af18cca9e60246f4529b165b26fd' 
  AND token = 'DAqSrQbzvjsJ2GrjdOPOiIzCR0Thc8wAOw9lQ9kiMPU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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