SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab1fb4c00cbd959a185ebf64536f9b9f90ac10bf04992073860277a4227e0b3d' 
  AND token = 'tD3/+hjLSr9c1onO6h+Os2O/gW19CaUNECiY8BwfOfo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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