SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34a90774baf71f9c86ad9eaff1cf0606776c5e45e01ed1217977333602788987' 
  AND token = 'Wl7YNtt+ISEEHAPW1vEwN3UIJ+5c0UpPO962N/ZsUl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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