SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '242a641010e3f64ad5940645b9bc72d6efd4d86f800547e30a4b22fbd824f02e' 
  AND token = 'fd0ST2BtMsuSz/Aoa0aA4haaoFMelsSRyELYmtYcIqs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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