SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38c219c4f1d25c797d7e13486b0a695838862b357afeef6fc453d57d4edc7e96' 
  AND token = 'feOal30M5nHvNWiswXSwP848Fjt90yUDm323ZxviSGs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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