SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e09b1af6815f2f223acc46f4722f51421585b8211c4768b8b1a6f437698d4a19' 
  AND token = 'icoWrhP6wTC/ILAOAQXDC2Go57NwKPmLBkVXqhSLKMs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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