SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7538b99f0b4ff08936ff6073f0d08897f02c7d9a802f2390c9233c0a5d0d0597' 
  AND token = 'ZFOczIokJAqEWpk5Q8h02NYBnuqJz0i1mzoe7FwwIUY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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