SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4b8416e49a3c500f9390cdfb440cfb931ce111391e792e3c18200db42231f15' 
  AND token = 'kXHbEn5/zvG+g2j3qrm0ZLOPG8E8F1yYCMmIH4Q9RxY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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