SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f4ad8facfa67c5be02651a68766b1be51d027793185708e28088742fa3df8a6' 
  AND token = 'asQ0InHQM+MYMBkVh5BWDKW0ovFOap5FCGjOFyRspZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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