SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a22efafda27b5bc120b82c2a541a0741a078035d34595989d1e9f928b18fd1a' 
  AND token = 'uG4h4qbmE7UnQXwH/2ZcuLKiSuX5RBWU/1EVgXJ/MuI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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