SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '250e4d5ee5d979acd5735aeca8a9b86a62be77c3370a65a61ab9414dad8dd7d1' 
  AND token = 'gNhvXVmUA0NFPb0cOom/wwQE+daVxC7jJ2kqv/ZkENI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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