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

Query time 0.00024

JSON explain

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