SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e3c617be18f812ad60783f485d7df4b77bc9dcd2906711535c434d0e9570f09' 
  AND token = 'Ihta0IA38lIPAX05f60Zj/WHq6vxFZEBfD9Co6nvNIg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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