SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5199237ffa468ead97ad5c2a576addb95c11768d71e1f7d6bcce88296eacb7b5' 
  AND token = 'ZxwywrgWm4LQdA4zt5Ge7k6YIIz7OGoVvLiDeGFVjOo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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