SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af87d0eb125239667407a32ca6126dd678885bfe073c68d4665a0aa92acc922f' 
  AND token = 'WmHrB/WK3HeREekCj0Nj/xH6b3/T9UwQLeuuQKQCp7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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