SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce8f7f0e346c33460600b1c32129c536a6c535b42edbb683c4c684ae3802c71d' 
  AND token = 'isA5e/459hXRYNeac3ZCSMe6CSkiDoffbUL8/5EYzDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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