SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fa9490fc0fcdf187c302786616bc18159998e0e243038e85a65a247c3b8219' 
  AND token = 'MgoqFkavVfjrBOMZFTcktMxm5rdNxY5lHP2W1ty7i1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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