SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f51c79d79258357809f6e64279276f101a80a0cdfa41cef66a1c6ddb3545b711' 
  AND token = 'fwkFx+G9ILlDR+jthWxEXwf9ycxbXn4RrEl+VmQ1NmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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