SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '834785162fbfc1b93165af09de140975061069c26ac8a7f4a24db2277356c76c' 
  AND token = 'AFIfpjPd3VkPprd4AnbBQSW1wCL/Nq2iILG7ni7WHN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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